package net.csdn.business.common.domain.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.csdn.business.common.enums.DirectionEnum;
import net.csdn.business.common.enums.SortEnum;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.util.*;


/**
 * @ClassName RepoCommentQueryDto
 * @Description TODO
 * @Author liuzhisheng
 * @Date 2023/10/27
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RepoIssueCommentQueryDto {

    private Long projectId;

    @Min(value = 1,message = "最小值为1")
    private Integer page = 1;

    @Min(value = 1,message = "最小值为1")
    @Max(value = 100,message = "最大值为100")
    private Integer per_page = 30;

    private SortEnum sort;

    private DirectionEnum direction;

    private String since;

    private String uid;

    private List<String> issueIds;
}
